package com.ysjy.course.dto;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.wkbb.common.handler.JsonUtil;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
@ApiModel("机构教师dto")
@JsonInclude(JsonInclude.Include.NON_NULL)
public class TeacherDto implements Serializable {
    @ApiModelProperty("ID")
    private Long id;
    @ApiModelProperty("真实姓名")
    private String realName;
    @ApiModelProperty("昵称")
    private String nickname;
    @ApiModelProperty("手机号")
    private String mobile;
    @ApiModelProperty("性别 0保密 1男 2女")
    private Integer sex;
    @ApiModelProperty("头像")
    private String avatar;
    @ApiModelProperty("学段 1幼儿园 2小学 3中职 4初中 5高中 6高职 7本科 8培训学校")
    private Integer season;
    @ApiModelProperty("教师简介")
    private String introduce;
    @ApiModelProperty("状态 1启用 0禁用")
    private Boolean enabled;
    @ApiModelProperty("更新时间")
    private Date updateTime;
    @ApiModelProperty("创建时间")
    private Date createTime;

    @ApiModelProperty("token")
    private String token;
    @ApiModelProperty(value = "openId" )
    private String openId;
    @ApiModelProperty(value = "unionId" )
    private String unionId;
}
